package com.dibang.app.operation.model.impl;

import android.support.annotation.NonNull;

import com.dibang.app.R;
import com.dibang.app.bean.SafeCenterItem;
import com.dibang.app.operation.model.abs.SafeCenterModel;

import java.util.ArrayList;
import java.util.List;

public class SafeCenterModelImpl implements SafeCenterModel {

    @NonNull
    @Override
    public List<SafeCenterItem> generateSafeCenter() {
        List<SafeCenterItem> list = new ArrayList<>();
        SafeCenterItem item0 = new SafeCenterItem();
        item0.setHint("一键报警后，行程将会自动发送给紧急联系人");
        item0.setMore("去设置");
        item0.setTitle("紧急联系人");
        item0.setUnSettingMoreColor(R.color.blue_gradient_end_color);
        list.add(item0);

        SafeCenterItem item1 = new SafeCenterItem();
        item1.setHint("行程可以分享至紧急联系人微信");
        item1.setMore("绑定微信联系人");
        item1.setTitle("行程分享");
        item1.setUnSettingMoreColor(R.color.blue_gradient_end_color);
        list.add(item1);

        SafeCenterItem item2 = new SafeCenterItem();
        item2.setHint("提升您的账号安全，保障您的合法权益");
        item2.setMore("未认证");
        item2.setTitle("实名认证");
        item2.setUnSettingMoreColor(R.color.xui_config_color_red);
        list.add(item2);

        SafeCenterItem item3 = new SafeCenterItem();
        item3.setHint("安全指南");
        item3.setMore("");
        item3.setTitle("安全指南");
        item3.setUnSettingMoreColor(R.color.blue_gradient_end_color);
        list.add(item3);

        return list;
    }
}
